package week07.necessary.service;

public interface IOrdersService {

    /**
     *  订单总数
     * @return
     */
    int orderCount();

    /**
     * 根据ID修改状态
     * @param state 状态
     * @param id ID
     * @return
     */
    boolean updateStateById(int state, int id);
}
